<?php

namespace common\models\user;

use Yii;
use yii\data\Pagination;
use yii\data\ActiveDataProvider;

/**
 * This is the model class for table "user_pay".
 *
 * @property int $id
 * @property string $user_guid
 * @property string $order_id
 * @property string $biz_order_id
 * @property int $fee
 * @property int $pay_fee
 * @property int $currency_fee_total
 * @property int $currency_fee
 * @property int $extra_currency_fee
 * @property int $type
 * @property int $pay_type
 * @property int $platform_os
 * @property int $status
 * @property string $subject
 * @property int $created_at
 * @property int $updated_at
 */
class UserPay extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'user_pay';
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'user_guid' => 'User Guid',
            'order_id' => 'Order ID',
            'biz_order_id' => 'Biz Order ID',
            'fee' => 'Fee',
            'pay_fee' => 'Pay Fee',
            'currency_fee_total' => 'Currency Fee Total',
            'currency_fee' => 'Currency Fee',
            'extra_currency_fee' => 'Extra Currency Fee',
            'type' => 'Type',
            'pay_type' => 'Pay Type',
            'platform_os' => 'Platform Os',
            'status' => 'Status',
            'subject' => 'Subject',
            'created_at' => Yii::t('app', '添加时间'),
            'updated_at' => Yii::t('app', '更新时间'),
        ];
    }
}
